#!/bin/sh

MYSQL=`which mysql`

DB="visualpun"
DBUSER="visualpun"
DBPASS="sdf09umXu"

echo "Installing Drupal database"

echo "Step 1: Create User"
echo "Please provide your root password (user 'root' assumed in script)"
$MYSQL -u root -p < create.sql

echo "Step 2: Initialize database"
$MYSQL -u "$DBUSER" -p$DBPASS < ./default.sql

exit 0
